package me.zk.practice1.hw;

import java.util.Scanner;

/**
 * @author zhangkai
 * @date 2023/8/14 16:24
 */
public class HWBJJ29 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String[] inp1 = scanner.nextLine().split(",");
        //shi min
        int n = Integer.parseInt(inp1[0]);

        int m = Integer.parseInt(inp1[1]);



        for (int i = 0; i < n; i++) {



        }

    }
}
